/*******************************************************************************
* Copyright (c) 2010, 2018 西安秦晔信息科技有限公司
* Licensed under the Apache License, Version 2.0 (the "License");
*    you may not use this file except in compliance with the License.
*    You may obtain a copy of the License at
*
*       http://www.apache.org/licenses/LICENSE-2.0
*
*    Unless required by applicable law or agreed to in writing, software
*    distributed under the License is distributed on an "AS IS" BASIS,
*    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*    See the License for the specific language governing permissions and
*    limitations under the License.
*******************************************************************************/
package com.qinyeit.serviceapp.entity;

import lombok.Builder;
import lombok.experimental.Tolerate;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * ClassName: DishesMenuDetail <br/>
 * Function: 菜谱明细 <br/>
 * date: 2018-11-26 14:37:02 <br/>
 *
 * @author liuwenjin
 * @version  1.0
 * @since JDK 1.8
 */
@Builder
@Entity
@Table(name="dishes_menu_details")
public class DishesMenuDetail extends MerchantGroupBaseEntity<Long> {

	private static final long serialVersionUID = 1L;

	// 菜谱id 
    @Column(name="menu_id")
	private Long menuId = null;

	// 菜品id 
    @Column(name="dishes_id")
	private Long dishesId = null;


    @Tolerate
	public DishesMenuDetail() {
		
	}
    @Tolerate
	public DishesMenuDetail(Long id){
    	super.setId(id);
    }
	
	/**
	 * 获取菜谱id
	 */
	public Long getMenuId() {
		return this.menuId;
	}

    /**
     * 设置菜谱id
     */
	public DishesMenuDetail setMenuId(Long menuId) {
		this.menuId = menuId;
		return this;
	}

	/**
	 * 获取菜品id
	 */
	public Long getDishesId() {
		return this.dishesId;
	}

    /**
     * 设置菜品id
     */
	public DishesMenuDetail setDishesId(Long dishesId) {
		this.dishesId = dishesId;
		return this;
	}

}
